package com.hzw.saas.web.app.user.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.util.Date;

/**
 * @Description
 * @Date 2021/6/30 11:13 上午
 * @Created by sonam
 */
@Data
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value = "机时当天使用量（单位）", description = "机时当天使用量（单位）")
public class HpcAccountUsageDto {

//    @DateTimeFormat(pattern = "MM/dd")
//    @JsonFormat(pattern = "MM/dd")
    @ApiModelProperty(value = "开始日期",position = 1)
    private Date startDate;

//    @DateTimeFormat(pattern = "MM/dd")
//    @JsonFormat(pattern = "MM/dd")
    @ApiModelProperty(value = "结束日期",position = 2)
    private Date endDate;

    @ApiModelProperty(value = "单位，D日｜W周｜M月|H时",position = 3)
    private String date;

    @ApiModelProperty(value = "机时使用量，单位：核时",position = 4)
    private Double usage;
}
